<template>
  <div class="bgw">
    <!-- 头部 -->
    <head-main />
    <div class="lcmainbox">
      <div class="lcboxitem">
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>准备</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>静脉采血</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>样品离心</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>样品开盖</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>检查仪器</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>仪器开机</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>登录工作站</span>
        </div>
      </div>
      <div class="xxboxd">
        <img src="@/images/lcjt.png" alt="" />
      </div>
      <div class="lcboxitem">
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>标本分析</span>
        </div>
        <div class="lbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>质控</span>
        </div>
        <div class="lbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>校准定标</span>
        </div>
        <div class="lbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>检查清洗液</span>
        </div>
        <div class="lbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>

        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>更换试剂</span>
        </div>
        <div class="lbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>

        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>检查试剂</span>
        </div>
        <div class="lbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>

        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>开机保养</span>
        </div>
      </div>
      <div class="xxboxd xxboxds">
        <img src="@/images/lcjt.png" alt="" />
      </div>
      <div class="lcboxitem">
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>打印报告单</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>常规维护</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>关机维护</span>
        </div>
        <div class="rbox">
          <img src="@/images/lcjt.png" alt="" />
        </div>
        <div class="lcbox">
          <img src="@/images/bglc.png" alt="" />
          <span>仪器关机</span>
        </div>
      </div>
    </div>
    <!-- 底部 -->
    <div class="tcorcx">
      <div class="tool" @click="loding">
        <img src="@/images/cxks.png" alt="" class="normal" />
        <img src="@/images/cxksac.png" alt="" class="active" />
      </div>
      <div class="tool" @click="closeFn">
        <img src="@/images/tc.png" alt="" class="normal" />
        <img src="@/images/tcac.png" alt="" class="active" />
      </div>
    </div>
  </div>
</template>

<script>
import HeadMain from './headMain.vue'
//这里可以导入其他文件（比如：组件，工具js，第三方插件js，json文件，图片文件等等）
//例如：import 《组件名称》 from '《组件路径》';

export default {
  //import引入的组件需要注入到对象中才能使用
  components: { HeadMain },
  data() {
    //这里存放数据
    return {}
  },
  //监听属性 类似于data概念
  computed: {},
  //监控data中的数据变化
  watch: {},
  //方法集合
  methods: {
    loding() {
      this.$router.push({
        name: '/'
      })
    },
    //关闭按钮
    closeFn() {
      if (
        navigator.userAgent.indexOf('Firefox') != -1 ||
        navigator.userAgent.indexOf('Chrome') != -1
      ) {
        window.location.href = 'about:blank'
        window.close()
      } else {
        window.opener = null
        window.open('', '_self')
        window.close()
      }
    }
  },
  //生命周期 - 创建完成（可以访问当前this实例）
  created() {},
  //生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {},
  beforeCreate() {}, //生命周期 - 创建之前
  beforeMount() {}, //生命周期 - 挂载之前
  beforeUpdate() {}, //生命周期 - 更新之前
  updated() {}, //生命周期 - 更新之后
  beforeDestroy() {}, //生命周期 - 销毁之前
  destroyed() {}, //生命周期 - 销毁完成
  activated() {} //如果页面有keep-alive缓存功能，这个函数会触发
}
</script>
<style>
.bgw {
  width: 100%;
  height: 100%;
  background: #02284b;
}
</style>
